class IhrmLogin(object):

    @classmethod
    def login(cls,session,login_data):
        resp = session.post(url="https://ihrm-java.itheima.net/api/sys/login",
                     json=login_data)
        return resp